﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Resources;
using System.Text;
using System.Web.Mvc;
using Redmine.Core.Locals;

namespace Redmine.Core.Source
{
    public static class DropdownList
    {
        /// <summary>
        /// 语言选择下拉
        /// </summary>
        public static readonly IEnumerable<SelectListItem> LanguageList = new List<SelectListItem>
                                                                              {
                                                                                  new SelectListItem {Text = "简体中文", Value = "zh"},
                                                                                  new SelectListItem {Text = "English",Value = "en-us"}
                                                                                 };

        public static readonly IEnumerable<SelectListItem> MailNotificationList = new List<SelectListItem>
                                                                              {
                                                                                  new SelectListItem {Text = Lang.Label_UserMailOption_All , Value = "0"},
                                                                                  new SelectListItem {Text = Lang.Label_UserMailOption_Selected,Value = "1"},
                                                                                  new SelectListItem {Text = Lang.Label_UserMailOption_OnlyMyEvents, Value = "2"},
                                                                                  new SelectListItem {Text = Lang.Label_UserMailOption_OnlyAssigned,Value = "3"},
                                                                                  new SelectListItem {Text = Lang.Label_UserMailOption_OnlyOwner,Value = "4"},
                                                                                  new SelectListItem {Text = Lang.Label_UserMailOption_None,Value = "5"}
                                                                                 };

        
    }
}
